import request from '@/util/request'

export function listDeviceBelongGroup(data) {
  return request({
    url: '/iot/device/belong/group/list',
    method: 'post',
    data
  })
}
export function treeDeviceBelongGroup(data) {
  return request({
    url: '/iot/device/belong/group/tree',
    method: 'post',
    data
  })
}
export function insertDeviceBelongGroup(data) {
  return request({
    url: '/iot/device/belong/group/insert',
    method: 'post',
    data
  })
}
export function deleteDeviceBelongGroup(data) {
  return request({
    url: '/iot/device/belong/group/delete',
    method: 'post',
    data
  })
}

export function updateDeviceBelongGroup(data) {
  return request({
    url: '/iot/device/belong/group/update',
    method: 'post',
    data
  })
}

